import Vue from "vue";
//导入路由相关的包
import VueRouter from "vue-router";
Vue.use(VueRouter)

import VueResource from "vue-resource";

Vue.use(VueResource)

Vue.http.options.root = "http://vue.studyit.io";
Vue.http.options.emulateJSON = true;
//导入App组件
import app from "./App.vue"
//导入路由组件
import router from "./router.js"

//定义全局过滤器
import "./filter.js"

// 定义全局mint-ui
import MintUI from "mint-ui";
Vue.use(MintUI)
import "mint-ui/lib/style.css"

import "./lib/mui/css/mui.min.css"
import "./lib/mui/css/icons-extra.css"

new Vue({
    el: "#app",
    data: {

    },
    methods: {

    },
    render: c => c(app),
    router
})